cmake_minimum_required(VERSION 2.6)
PROJECT(TinyXml)
SET(CMAKE_VERBOSE_MAKEFILE on)
SET(CMAKE_CXX_COMPILER g++)
SET(CMAKE_C_COMPILER g++)
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
SET(CMAKE_USE_RELATIVE_PATHS on)

SET (CMAKE_BUILD_TYPE Release)

SET(CurrentStatic tinyxml)

SET(Headers
tinyxml.h
tinystr.h
)
SET(Sources
tinyxml.cpp
tinyxmlerror.cpp
tinyxmlparser.cpp
tinystr.cpp
)

ADD_LIBRARY(${CurrentStatic} STATIC
 ${Headers}
 ${Sources}
)


